package com.lostreseditores.sabersai.model.control;

import java.util.List;

import com.lostreseditores.sabersai.model.Curso;
import com.lostreseditores.sabersai.model.dto.CursoDTO;


public interface ICursoLogic {
    public List<Curso> getCurso() throws Exception;

    public void saveCurso(String cursdescripv, Integer cursidn,
        String cursnombrev, Integer cursidn_Curso) throws Exception;

    public void deleteCurso(Integer cursidn) throws Exception;

    public void updateCurso(String cursdescripv, Integer cursidn,
        String cursnombrev, Integer cursidn_Curso) throws Exception;

    public Curso getCurso(Integer cursidn) throws Exception;

    public List<Curso> findByCriteria(Object[] variables,
        Object[] variablesBetween, Object[] variablesBetweenDates)
        throws Exception;

    public List<Curso> findPageCurso(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults)
        throws Exception;

    public Long findTotalNumberCurso() throws Exception;

    public List<CursoDTO> getDataCurso() throws Exception;
    
    public List<Curso> getGrupo() throws Exception;
    
    public List<Curso> getSalon(Integer cursidn) throws Exception;
}
